package tech.aistar.entity;

public class User {
private String u_name;
private String p_password;
private String u_gender;
private Integer u_id;

    public User() {
    }

    public String getU_name() {
        return u_name;
    }

    public void setU_name(String u_name) {
        this.u_name = u_name;
    }

    public String getP_password() {
        return p_password;
    }

    public void setP_password(String p_password) {
        this.p_password = p_password;
    }

    public String getU_gender() {
        return u_gender;
    }

    public void setU_gender(String u_gender) {
        this.u_gender = u_gender;
    }

    public Integer getU_id() {
        return u_id;
    }

    public void setU_id(Integer u_id) {
        this.u_id = u_id;
    }

    public User(String u_name, String p_password, String u_gender, Integer u_id) {
        this.u_name = u_name;
        this.p_password = p_password;
        this.u_gender = u_gender;
        this.u_id = u_id;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("User{");
        sb.append("u_name='").append(u_name).append('\'');
        sb.append(", p_password='").append(p_password).append('\'');
        sb.append(", u_gender='").append(u_gender).append('\'');
        sb.append(", u_id=").append(u_id);
        sb.append('}');
        return sb.toString();
    }
}
